home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
dalib
/
pvm3
/
makefile.os2
< prev
next >
Wrap
Makefile
|
1994-01-03
|
2KB
|
78 lines
#
# Makefile for the generation of the distributed array library
#
# DALIB, UNILIB
#
LIB = dalib.a
LIB1 = unilib.a
#
# Compilers
#
# machine : ARCH CC COPT notes
#
# SUN 4 : SUN4 cc -O
# Alliant : ALLIANT fxc -Ogu -uniproc no mnode.o
#
CC = gcc
ARCH = OS2
COPT = -O2 -D$(ARCH) -s
#
# General Sources
#
GSRC = buffer.c barrier.c reductio.c broadcst.c \
memcopy.c random.c argument.c \
manager1.c section1.c \
hostnde1.c replict1.c movemnt1.c \
cshift0.c cshift1.c \
overlap0.c overlap1.c \
transps0.c transps1.c \
schedul0.c schedul1.c \
combiner.c \
timing.c timing0.c
#
# mailbox: use of snd, rcv
# broadcast: special function of pvm
#
# Object Codes for the basic DALIB
#
MODULES = mailbox.o pbroadct.o reductio.o barrier.o buffer.o \
memcopy.o random.o argument.o \
manager1.o section1.o \
hostnd1.o replict1.o movemnt1.o \
cshift0.o cshift1.o \
overlap0.o overlap1.o \
transps0.o transps1.o \
schedul0.o schedul1.o \
combiner.o \
timing.o
#
# note: PVM has own broadcast, PVM_broadcast
#
MODULES1 = timing0.o overlap0.o cshift0.o schedul0.o transps0.o \
memcopy.o combiner.o random.o
#
all: mcube.o mhost.o mnode.o mnode1.o $(LIB) $(LIB1)
#
# note: KSR1, SGI, ALLIANT do not need mnode.o (= mhost.o)
#
$(LIB): $(MODULES)
rm -f $(LIB)
ar rc $(LIB) $(MODULES)
ar s $(LIB)
#
$(LIB1): $(MODULES1)
rm -f $(LIB1)
ar rc $(LIB1) $(MODULES1)
ar s $(LIB1)
#
# compiling modules of DALIB
#
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(COPT) $<
#
clean:
rm -f *.o *.a
new:
rm -f $(GSRC)